<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Starshatter_Open: D:/SRC/StarshatterSVN/nGenEx/VideoDX9.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Starshatter_Open
   </div>
   <div id="projectbrief">Open source Starshatter engine</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_video_d_x9_8cpp.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">VideoDX9.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_mem_debug_8h_source.html">MemDebug.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="n_gen_ex_2_video_d_x9_8h_source.html">VideoDX9.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="_video_d_x9_enum_8h_source.html">VideoDX9Enum.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="_video_d_x9_vertex_buffer_8h_source.html">VideoDX9VertexBuffer.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="_tex_d_x9_8h_source.html">TexDX9.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="n_gen_ex_2_tex_cube_d_x9_8h_source.html">TexCubeDX9.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="_camera_8h_source.html">Camera.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="_color_8h_source.html">Color.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="_data_loader_8h_source.html">DataLoader.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="_polygon_8h_source.html">Polygon.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="_light_8h_source.html">Light.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="_solid_8h_source.html">Solid.h</a>&quot;</code><br/>
</div>
<p><a href="_video_d_x9_8cpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_video_d_x9_surface_data.html">VideoDX9SurfaceData</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_video_d_x9_segment_data.html">VideoDX9SegmentData</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_video_d_x9_screen_vertex.html">VideoDX9ScreenVertex</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_video_d_x9_normal_vertex.html">VideoDX9NormalVertex</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_video_d_x9_solid_vertex.html">VideoDX9SolidVertex</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_video_d_x9_luminous_vertex.html">VideoDX9LuminousVertex</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_video_d_x9_detail_vertex.html">VideoDX9DetailVertex</a></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_video_d_x9_line_vertex.html">VideoDX9LineVertex</a></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a3fd6948289253a5d8e497c1016fb035d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_video_d_x9_8cpp.html#a3fd6948289253a5d8e497c1016fb035d">RELEASE</a>(x)&#160;&#160;&#160;if (x) { x-&gt;Release(); x=NULL; }</td></tr>
<tr class="memitem:a5b5af973479eab98a9a015d58d399a8a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_video_d_x9_8cpp.html#a5b5af973479eab98a9a015d58d399a8a">F2DW</a>(x)&#160;&#160;&#160;(*(DWORD*)(&amp;x))</td></tr>
<tr class="memitem:a7adec533ecaf4be883d797ad8b4e754e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_video_d_x9_8cpp.html#a7adec533ecaf4be883d797ad8b4e754e">DW2I</a>(x)&#160;&#160;&#160;(*(int*)(&amp;x))</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ae5550d86e2abd13a54237083e98e0d9e"><td class="memItemLeft" align="right" valign="top">typedef HRESULT(WINAPI *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_video_d_x9_8cpp.html#ae5550d86e2abd13a54237083e98e0d9e">LPDDCE</a> )(GUID FAR *, LPVOID *, REFIID, IUnknown FAR *)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:aabfcbcb5ac86a1edac4035264bc7d2b8"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <br/>
&#160;&#160;<a class="el" href="_video_d_x9_8cpp.html#aabfcbcb5ac86a1edac4035264bc7d2b8a204a3cd78d2639157ff7398f9722b207">DX9_STRATEGY_NONE</a>, 
<a class="el" href="_video_d_x9_8cpp.html#aabfcbcb5ac86a1edac4035264bc7d2b8a7de49fc13d1b5f260f209838b5bad73d">DX9_STRATEGY_SIMPLE</a>, 
<a class="el" href="_video_d_x9_8cpp.html#aabfcbcb5ac86a1edac4035264bc7d2b8ad90353ccabafd7173c911f14e99e089c">DX9_STRATEGY_GLOW</a>, 
<a class="el" href="_video_d_x9_8cpp.html#aabfcbcb5ac86a1edac4035264bc7d2b8a8d1bc2685f00685c2a23a0786ec35321">DX9_STRATEGY_SPECMAP</a>, 
<br/>
&#160;&#160;<a class="el" href="_video_d_x9_8cpp.html#aabfcbcb5ac86a1edac4035264bc7d2b8a536a123539f059f01c8fa57096bb4d0a">DX9_STRATEGY_EMISSIVE</a>, 
<a class="el" href="_video_d_x9_8cpp.html#aabfcbcb5ac86a1edac4035264bc7d2b8a67b8447ca76db0866ffcdad0e7258660">DX9_STRATEGY_SPEC_EMISSIVE</a>, 
<a class="el" href="_video_d_x9_8cpp.html#aabfcbcb5ac86a1edac4035264bc7d2b8ad227114c0f55df8c6fb85ba07718c766">DX9_STRATEGY_BLEND</a>, 
<a class="el" href="_video_d_x9_8cpp.html#aabfcbcb5ac86a1edac4035264bc7d2b8a45d74a6552003b44576a3b83e40319bd">DX9_STRATEGY_BLEND_DETAIL</a>
<br/>
 }</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ac93b02fe53121166e016e5c27c60f8a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_video_d_x9_8cpp.html#ac93b02fe53121166e016e5c27c60f8a9">Print</a> (const char *msg,...)</td></tr>
<tr class="memitem:a353ded6baf1dcd70d760559d701218f6"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_video_d_x9_8cpp.html#a353ded6baf1dcd70d760559d701218f6">D3DErrStr</a> (HRESULT dderr)</td></tr>
<tr class="memitem:a5b7aab334b284716081036f992f96cca"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_video_d_x9_8cpp.html#a5b7aab334b284716081036f992f96cca">VideoDX9Error</a> (const char *msg, HRESULT dderr)</td></tr>
<tr class="memitem:a4fe65ce094e1a517eb02a9d06c729298"><td class="memItemLeft" align="right" valign="top">WORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_video_d_x9_8cpp.html#a4fe65ce094e1a517eb02a9d06c729298">RampValue</a> (UINT i, double recip_gamma, double fade)</td></tr>
<tr class="memitem:a37913868aca9994ec4f4e3a1c11015a9"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_video_d_x9_8cpp.html#a37913868aca9994ec4f4e3a1c11015a9">ReciprocalGamma</a> (UINT i)</td></tr>
<tr class="memitem:a712ae80cf7cd2c9801a545a206268b33"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_video_d_x9_8cpp.html#a712ae80cf7cd2c9801a545a206268b33">GammaValue</a> (UINT i)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a68bf17b5e7ab68ffb2a5d029b369ab99"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_video_d_x9_8cpp.html#a68bf17b5e7ab68ffb2a5d029b369ab99">VD3D_describe_things</a></td></tr>
<tr class="memitem:a0093a5cac6d45c4589502bab58220190"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_list.html">List</a>&lt; <a class="el" href="class_model.html">Model</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_video_d_x9_8cpp.html#a0093a5cac6d45c4589502bab58220190">model_clients</a></td></tr>
<tr class="memitem:a51e2a448cd94dba5bcc3418d80d7b4d8"><td class="memItemLeft" align="right" valign="top">D3DVERTEXELEMENT9&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_video_d_x9_8cpp.html#a51e2a448cd94dba5bcc3418d80d7b4d8">videoDX9NormalVertexElements</a> []</td></tr>
</table>
<hr/><h2>Macro Definition Documentation</h2>
<a class="anchor" id="a7adec533ecaf4be883d797ad8b4e754e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DW2I</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">x</td><td>)</td>
          <td>&#160;&#160;&#160;(*(int*)(&amp;x))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_video_d_x9_8cpp_source.html#l00054">54</a> of file <a class="el" href="_video_d_x9_8cpp_source.html">VideoDX9.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5b5af973479eab98a9a015d58d399a8a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define F2DW</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">x</td><td>)</td>
          <td>&#160;&#160;&#160;(*(DWORD*)(&amp;x))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_video_d_x9_8cpp_source.html#l00050">50</a> of file <a class="el" href="_video_d_x9_8cpp_source.html">VideoDX9.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3fd6948289253a5d8e497c1016fb035d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RELEASE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">x</td><td>)</td>
          <td>&#160;&#160;&#160;if (x) { x-&gt;Release(); x=NULL; }</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_video_d_x9_8cpp_source.html#l00046">46</a> of file <a class="el" href="_video_d_x9_8cpp_source.html">VideoDX9.cpp</a>.</p>

</div>
</div>
<hr/><h2>Typedef Documentation</h2>
<a class="anchor" id="ae5550d86e2abd13a54237083e98e0d9e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef HRESULT(WINAPI * LPDDCE)(GUID FAR *, LPVOID *, REFIID, IUnknown FAR *)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_video_d_x9_8cpp_source.html#l00059">59</a> of file <a class="el" href="_video_d_x9_8cpp_source.html">VideoDX9.cpp</a>.</p>

</div>
</div>
<hr/><h2>Enumeration Type Documentation</h2>
<a class="anchor" id="aabfcbcb5ac86a1edac4035264bc7d2b8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="aabfcbcb5ac86a1edac4035264bc7d2b8a204a3cd78d2639157ff7398f9722b207"></a>DX9_STRATEGY_NONE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aabfcbcb5ac86a1edac4035264bc7d2b8a7de49fc13d1b5f260f209838b5bad73d"></a>DX9_STRATEGY_SIMPLE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aabfcbcb5ac86a1edac4035264bc7d2b8ad90353ccabafd7173c911f14e99e089c"></a>DX9_STRATEGY_GLOW</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aabfcbcb5ac86a1edac4035264bc7d2b8a8d1bc2685f00685c2a23a0786ec35321"></a>DX9_STRATEGY_SPECMAP</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aabfcbcb5ac86a1edac4035264bc7d2b8a536a123539f059f01c8fa57096bb4d0a"></a>DX9_STRATEGY_EMISSIVE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aabfcbcb5ac86a1edac4035264bc7d2b8a67b8447ca76db0866ffcdad0e7258660"></a>DX9_STRATEGY_SPEC_EMISSIVE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aabfcbcb5ac86a1edac4035264bc7d2b8ad227114c0f55df8c6fb85ba07718c766"></a>DX9_STRATEGY_BLEND</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aabfcbcb5ac86a1edac4035264bc7d2b8a45d74a6552003b44576a3b83e40319bd"></a>DX9_STRATEGY_BLEND_DETAIL</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="_video_d_x9_8cpp_source.html#l00229">229</a> of file <a class="el" href="_video_d_x9_8cpp_source.html">VideoDX9.cpp</a>.</p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a353ded6baf1dcd70d760559d701218f6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char * D3DErrStr </td>
          <td>(</td>
          <td class="paramtype">HRESULT&#160;</td>
          <td class="paramname"><em>dderr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_video_d_x9_8cpp_source.html#l03530">3530</a> of file <a class="el" href="_video_d_x9_8cpp_source.html">VideoDX9.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a712ae80cf7cd2c9801a545a206268b33"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float GammaValue </td>
          <td>(</td>
          <td class="paramtype">UINT&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_video_d_x9_8cpp_source.html#l00852">852</a> of file <a class="el" href="_video_d_x9_8cpp_source.html">VideoDX9.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac93b02fe53121166e016e5c27c60f8a9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Print </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_game_8cpp_source.html#l01520">1520</a> of file <a class="el" href="_game_8cpp_source.html">Game.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4fe65ce094e1a517eb02a9d06c729298"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">WORD RampValue </td>
          <td>(</td>
          <td class="paramtype">UINT&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>recip_gamma</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>fade</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_video_d_x9_8cpp_source.html#l00830">830</a> of file <a class="el" href="_video_d_x9_8cpp_source.html">VideoDX9.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a37913868aca9994ec4f4e3a1c11015a9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float ReciprocalGamma </td>
          <td>(</td>
          <td class="paramtype">UINT&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_video_d_x9_8cpp_source.html#l00841">841</a> of file <a class="el" href="_video_d_x9_8cpp_source.html">VideoDX9.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5b7aab334b284716081036f992f96cca"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VideoDX9Error </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HRESULT&#160;</td>
          <td class="paramname"><em>dderr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_video_d_x9_8cpp_source.html#l03525">3525</a> of file <a class="el" href="_video_d_x9_8cpp_source.html">VideoDX9.cpp</a>.</p>

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="a0093a5cac6d45c4589502bab58220190"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_list.html">List</a>&lt;<a class="el" href="class_model.html">Model</a>&gt; model_clients</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_video_d_x9_8cpp_source.html#l00070">70</a> of file <a class="el" href="_video_d_x9_8cpp_source.html">VideoDX9.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a68bf17b5e7ab68ffb2a5d029b369ab99"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int VD3D_describe_things</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_video_d_x9_enum_8cpp_source.html#l00025">25</a> of file <a class="el" href="_video_d_x9_enum_8cpp_source.html">VideoDX9Enum.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a51e2a448cd94dba5bcc3418d80d7b4d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">D3DVERTEXELEMENT9 videoDX9NormalVertexElements[]</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line"> </div>
<div class="line">{</div>
<div class="line">        { 0, 0,  D3DDECLTYPE_FLOAT3,   D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_POSITION, 0 },</div>
<div class="line">        { 0, 12, D3DDECLTYPE_FLOAT3,   D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_NORMAL,   0 },</div>
<div class="line">        { 0, 24, D3DDECLTYPE_FLOAT2,   D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_TEXCOORD, 0 },</div>
<div class="line">        { 0, 32, D3DDECLTYPE_FLOAT2,   D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_TEXCOORD, 1 },</div>
<div class="line">        { 0, 40, D3DDECLTYPE_FLOAT3,   D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_TANGENT,  2 },</div>
<div class="line">        { 0, 52, D3DDECLTYPE_FLOAT3,   D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_BINORMAL, 3 },</div>
<div class="line"></div>
<div class="line">}</div>
</div><!-- fragment -->
<p>Definition at line <a class="el" href="_video_d_x9_8cpp_source.html#l00163">163</a> of file <a class="el" href="_video_d_x9_8cpp_source.html">VideoDX9.cpp</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d6625d0f3efd9eb70ff961583505095b.html">nGenEx</a></li><li class="navelem"><a class="el" href="_video_d_x9_8cpp.html">VideoDX9.cpp</a></li>
    <li class="footer">Generated on Tue Jun 5 2012 20:47:23 for Starshatter_Open by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li>
  </ul>
</div>
</body>
</html>
